//
//  AKRequest_Factory.h
//  CocoaBean
//
//  Created by sleeper on 6/3/10.
//  Copyright 2010 __MyCompany__ All rights reserved.
//

#import "AKRequest.h"

@interface AKRequest (Factory)

// Factory methods for creating AKRequests. The extra ID can be a user id, subject id, comment id, etc.
+ (AKRequest *)requestWithType:(NSString *)type;
+ (AKRequest *)requestWithType:(NSString *)type extraInfo:(NSString *)extraInfo;
+ (AKRequest *)requestWithType:(NSString *)type extraInfo1:(NSString *)extraInfo extraInfo2:(NSString *)extraInfo2;

@end

extern NSString * const kAKRequestTypeUserInfo;
extern NSString * const kAKRequestTypeMiniblogEntries;
extern NSString * const kAKRequestTypeMiniblogComments;
extern NSString * const kAKRequestTypeBook;
extern NSString * const kAKRequestTypeMovie;
extern NSString * const kAKRequestTypeMusic;
extern NSString * const kAKRequestTypeBookISBN;

extern NSString * const kAKRequestTypeSearchBook;
extern NSString * const kAKRequestTypeSearchMovie;
extern NSString * const kAKRequestTypeSearchMusic;

extern NSString * const kAKRequestTypePostSaying;
extern NSString * const kAKRequestTypePostComment;
